<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>API Test</title>
  </head>
  <body>
    <h1>DasDing API Test</h1>
    <h2>Events</h2>
    <h3>/events</h3>
    <ul>
      <li><a href="./api/events">events</a></li>
      <li><a href="./api/events.json">events.json</a></li>
      <li><a href="./api/events.xml">events.xml</a></li>
    </ul>
    <h3>/events/id</h3>
    <ul>
      <li><a href="./api/events/id/1">events/id/1</a></li>
      <li><a href="./api/events/id/1.json">events/id/1.json</a></li>
      <li><a href="./api/events/id/1.xml">events/id/1.xml</a></li>
      <li><a href="./api/events/id/1.kml">events/id/1.kml</a></li>
    </ul>
    <h3>/events/categories</h3>
    <ul>
      <li><a href="./api/events/categories">events/categories</a></li>
      <li><a href="./api/events/categories.json">events/categories.json</a></li>
      <li><a href="./api/events/categories.xml">events/categories.xml</a></li>
    </ul>
    <h3>/events/find</h3>
    <ul>
      <li><a href="./api/events/find?lon=52.3&lat=13.523">events/find?lon=52.3&lat=13.523</a></li>
      <li><a href="./api/events/find?lon=52.3&lat=13.523&distance=10">events/find?lon=52.3&lat=13.523&distance=10</a></li>
      <li><a href="./api/events/find?lon=52.3&lat=13.523&distance=10&category=foo">events/find?lon=52.3&lat=13.523&distance=10&category=foo</a></li>
    </ul>
    <h2>Actions</h2>
    <h3>/actions/id</h3>
    <ul>
      <li><a href="./api/actions/id/1">actions/id/1</a></li>
      <li><a href="./api/actions/id/1.json">actions/id/1.json</a></li>
      <li><a href="./api/actions/id/1.xml">actions/id/1.xml</a></li>
    </ul>
    <h3>/actions/categories</h3>
    <ul>
      <li><a href="./api/actions/categories">actions/categories</a></li>
      <li><a href="./api/actions/categories.json">actions/categories.json</a></li>
      <li><a href="./api/actions/categories.xml">actions/categories.xml</a></li>
    </ul>
    <h3>/actions/find</h3>
    <ul>
      <li><a href="./api/actions/find?lon=52.3&lat=13.523">actions/find?lon=52.3&lat=13.523</a></li>
      <li><a href="./api/actions/find?lon=52.3&lat=13.523&distance=10">actions/find?lon=52.3&lat=13.523&distance=10</a></li>
      <li><a href="./api/actions/find?lon=52.3&lat=13.523&distance=10&category=foo">actions/find?lon=52.3&lat=13.523&distance=10&category=foo</a></li>
    </ul>
    <h2>Users</h2>
    <h3>/users/id</h3>
    <ul>
      <li><a href="./api/users/id/1">users/id/1</a></li>
      <li><a href="./api/users/id/1.json">users/id/1.json</a></li>
      <li><a href="./api/users/id/1.xml">users/id/1.xml</a></li>
    </ul>
    <h3>/users/id/actions</h3>
    <ul>
      <li><a href="./api/users/id/1/actions">users/id/1/actions</a></li>
      <li><a href="./api/users/id/1/actions.json">users/id/1/actions.json</a></li>
      <li><a href="./api/users/id/1/actions.xml">users/id/1/actions.xml</a></li>
    </ul>
    <h3>/users/id/actions/find</h3>
    <ul>
      <li><a href="./api/users/id/1/actions/find">users/id/1/actions/find</a></li>
      <li><a href="./api/users/id/1/actions/find.json">users/id/1/actions/find.json</a></li>
      <li><a href="./api/users/id/1/actions/find.xml">users/id/1/actions/find.xml</a></li>
    </ul>
    <h3>/users/id/events</h3>
    <ul>
      <li><a href="./api/users/id/1/events">users/id/1/events</a></li>
      <li><a href="./api/users/id/1/events.json">users/id/1/events.json</a></li>
      <li><a href="./api/users/id/1/events.xml">users/id/1/events.xml</a></li>
    </ul>
    <h3>/users/id/interests</h3>
    <ul>
      <li><a href="./api/users/id/1/interests">users/id/1/interests</a></li>
      <li><a href="./api/users/id/1/interests.json">users/id/1/interests.json</a></li>
      <li><a href="./api/users/id/1/interests.xml">users/id/1/interests.xml</a></li>
    </ul>
  </body>
</html>
